/* import axios from 'axios'
this.axios = axios
function postMockList (data) {
  return this.axios.post('/api/login', {
    data
  })
}
export { postMockList} */
import request from '../utils/request'

export function getLoginAccount(params) {
  return request({
    url: '/getLoginAccount',
    method: 'get',
    params: params
  })
}
export function registerAccount(params) {
  return request({
    url: '/registerAccount',
    method: 'get',
    params: params
  })
}
export function modifyPwd(params) {
  return request({
    url: '/modifyPwd',
    method: 'get',
    params: params
  })
}
export function getCode(params) {
  return request({
    url: '/getCode',
    method: 'get',
    params: params
  })
}